package com.learning.spring.cloud.alibaba.admin.server;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * ClassName: AdminServerApplication
 * Description: Spring Boot Admin Server
 * 1. 需要添加 @EnableAdminServer 注解
 * Date: 2019/5/31 10:42 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Slf4j
@EnableAdminServer
@SpringBootApplication
public class AdminServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminServerApplication.class, args);
        log.info("~~~~~~~~~ admin server application is started ~~~~~~~~~");
    }

}
